﻿* {
    text-decoration: none;
}
/*最大的一个*/
.Card {
    height: 358px;
    width: 100%;
}

.UserCover-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .UserCover-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.UserAvatar img {
    height: 160px;
    width: 160px;
    margin-top: -80px;
    border: 4px solid white;
    transform: scale(1);
    transition: transform 1s ease 0s;
}
    /*悬浮时图片放大*/
    .UserAvatar img:hover {
        transform: scale(1.05);
    }

.cover:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 10px black;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.image-upload {
    position: absolute;
    float: right;
}


.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
}

.test_demo {
    margin-left: 20px;
    margin-right: 20px;
    line-height: 30px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /*控制在2*/
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-indent: 2em;
}
/*修改个人资料按钮*/
.amend button {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 1px solid LightSkyBlue;
    border-radius: 3px;
}

    .amend button:hover {
        background-color: rgba( 135,206,250,0.2);
    }

.row nav {
    background-color: white;
    height: 40px;
}

#blogDiv {
    width: 100%;
    height: auto;
    background-color: white;
    /* opacity: 0.8;*/
    border-radius: 5px;
    border: 1px solid WhiteSmoke;
    box-shadow: 0px 0px 5px FloralWhite;
}

.blog-top {
    background-color: blue;
}

.post dl {
    position: relative;
    height: auto;
}

    .post dl dd {
        margin-top: 20px;
        font-size: 16px;
    }

.post-title:hover {
    transition-delay: 0.1s;
    transform: scale(1.05);
}

.avatar-image {
    border-radius: 50%;
    height: 22px;
    width: 22px;
}

.la {
    top: -147px;
    position: relative;
    height: 30px;
    width: 36px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    background-color: SkyBlue !important;
    text-align: center;
    line-height: 30px;
    color: white;
    box-shadow: 0px 0px 5px Silver;
}

    .la:hover {
        background-color: LightSkyBlue !important;
    }

.segment {
    height: auto;
    width: 100%;
    background-color: white;
}

.classify {
    border: 1px solid Gainsboro;
    border-radius: 10px;
}

.sidebar {
    color: black;
}

.classify dl dd {
    margin-left: 20px;
    padding-top: 10px;
}

    .classify dl dd:hover {
        background-color: rgba(192,192,192,0.2);
        border-radius: 10px;
        height: auto;
        color: red;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }

    .classify dl dd span {
        float: right;
    }

/*超出显示。。。*/
.td-overflow {
    max-width: 200px; /* 设置最大宽度 */
    white-space: nowrap; /* 防止内容换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 使用省略号 (...) 表示被截断的文本 */
}
